package com.zxl.gtion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxl.gtion.entity.Prize;
import com.zxl.gtion.entity.Subject;
import com.zxl.gtion.vo.SubjectVO;

import java.util.List;

/**
 * (Subject)表服务接口
 *
 * @author 
 * @since 2024-03-06 16:45:01
 */
public interface SubjectService extends IService<Subject> {

    /**
     * 答题界面
     *
     * @return
     */
    List<SubjectVO> answerInterface();

    /**
     * 用户答题
     *
     * @param subjectVOS
     * @return
     */
    Prize userAnswer(List<SubjectVO> subjectVOS);

    /**
     * 我获取的奖励
     *
     * @return
     */
    List<Prize> myPrize();

    /**
     * 是否拥有勋章
     *
     * @return
     */
    Boolean isHavePrize();

}

